import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/Service/getServiceList',
    method: 'post',
    data: query
  })
}

export function ExamineService(query) {
  return request({
    url: '/Service/ExamineService',
    method: 'post',
    data: query
  })
}

export function getOneServiceDetail(query) {
  return request({
    url: '/Service/getOneServiceDetail',
    method: 'post',
    data: query
  })
}

export function getServiceType() {
  return request({
    url: '/Service/getServiceType',
    method: 'post'
  })
}

export function register(query) {
  return request({
    url: '/Service/registered',
    method: 'post',
    data: query
  })
}
